xss_security ( $_GET ["id"] ) ) ; if ( isset ( $id_cat_get ) && is_numeric ( $id_cat_get ) &&$id_cat_get != 0 && $id_cat_get > 0 ){ $inner = array ( "category" , "admins" ) ; $join = array ( "yespress_topic.cat_topic=yespress_category.id_cat" , "yespress_topic.author_topic=yespress_admins.id_admin" ) ; $select_topic = $on_mysqli->select_db_inner ( "topic" , $inner , $join , "where id_cat = $id_cat_get" , "order by id_topic desc" , "limit 10" ) ; if ( mysqli_num_rows ( $select_topic ) != false ){ while ( $topic_array = mysqli_fetch_assoc ( $select_topic ) ){ print ( "
تاريخ النشر : ".$topic_array ["date_topic"]."
".mb_substr ( $topic_array ["title_topic"] , '0' , '55' , 'UTF-8' )." ... المزيد ..
كـاتـب : ".$topic_array ["user_admin"]." || الـفـئـة : ".$topic_array ["name_cat"]."
" ) ; $prev_topic = $topic_array ["id_topic"] ; } if ( mysqli_num_rows ( $select_topic ) > 9 ){ print ( "
الـمـزيـد .
" ) ; } else { print ( "
الـمـزيـد .
" ) ; } $on_mysqli->query_close () ; } else { $on_mysqli->query_close () ; print ( "
لا تـوجـد مـواضـيـع حـالـيـا
" ) ; } } else { print ( "
الـصـفـحـة خـطـأ , سـيـتـم تـحـويـلـك إلـى الـصـفـحـة الـرئـسـيـة .
" ) ; } ?>